<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>日语在线考试</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	</head>
	<body>
		<img
			src='/jpTest/style/images/userHeads/<s:property value="user.getUserIco()"/>'
			width="100" height="100"
			alt="<s:property value='user.userNickname' />" />
		<s:form action="modifyUser" method="post" name="form1"
			enctype="multipart/form-data">
			<s:file name="userHead" label="头像"></s:file>
			<s:textfield name="user.userName" label="真实姓名" value="%{user.userName}"/>
			<s:password name="user.userPassword" label="密码" />
			<s:textfield name="repwd" label="重复密码" />
			<s:select list="#{0:'男',1:'女'}" label="性别" name="user.userSex"></s:select>
			<s:doubleselect name="group.groupName" list="groupList"
				theme="simple" doubleName="group.className" doubleList="classList"
				formName="form1"
				onchange="this.form.action='getGroupClass.action';this.form.submit();"
				label="所属团体"></s:doubleselect>
			<s:textfield name="user.userEmail" label="邮箱" value="%{user.userEmail}" />
			<s:submit value="修改"></s:submit>
		</s:form>
	</body>
</html>
